package cn.tedu.bonfire.front.payment.dao.persist.repository;

import cn.tedu.bonfire.front.payment.pojo.entity.Order;

public interface IOrderRepository {

    void insert(Order order);

    void updateOrderStatus(Order order);

    //void updateHabitatCoin(Long authorId, Double totalPrice);

    Long countByOutTradeNo(String outTradeNo);

    Order getOrderDetailByOrderTradeNo(String outTradeNo);

    Order getByTradeNo(String outTradeNo);


    //Double getOrderSum(Long userId);
}
